package com.ruoyi.fun.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小程序版本对象 sys_miniapp_update_log
 * 
 * @author Dreamyy
 * @date 2025-09-10
 */
public class SysMiniappUpdateLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 版本号 */
    @Excel(name = "版本号")
    private String versionNumber;

    /** 更新类型（major:主版本,minor:次版本,patch:补丁版本,hotfix:热修复） */
    private String updateType;

    /** 更新标题 */
    @Excel(name = "更新标题")
    private String updateTitle;

    /** 更新内容描述 */
    @Excel(name = "更新内容描述")
    private String updateContent;

    /** 新增功能 */
    @Excel(name = "新增功能")
    private String newFeatures;

    /** 功能优化 */
    @Excel(name = "功能优化")
    private String improvements;

    /** 问题修复 */
    @Excel(name = "问题修复")
    private String bugFixes;

    /** 兼容性说明 */
    @Excel(name = "兼容性说明")
    private String compatibilityInfo;

    /** 体验码图片地址 */
    @Excel(name = "体验码图片地址")
    private String qrCodeUrl;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 状态 */
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setVersionNumber(String versionNumber) 
    {
        this.versionNumber = versionNumber;
    }

    public String getVersionNumber() 
    {
        return versionNumber;
    }

    public void setUpdateType(String updateType) 
    {
        this.updateType = updateType;
    }

    public String getUpdateType() 
    {
        return updateType;
    }

    public void setUpdateTitle(String updateTitle) 
    {
        this.updateTitle = updateTitle;
    }

    public String getUpdateTitle() 
    {
        return updateTitle;
    }

    public void setUpdateContent(String updateContent) 
    {
        this.updateContent = updateContent;
    }

    public String getUpdateContent() 
    {
        return updateContent;
    }

    public void setNewFeatures(String newFeatures) 
    {
        this.newFeatures = newFeatures;
    }

    public String getNewFeatures() 
    {
        return newFeatures;
    }

    public void setImprovements(String improvements) 
    {
        this.improvements = improvements;
    }

    public String getImprovements() 
    {
        return improvements;
    }

    public void setBugFixes(String bugFixes) 
    {
        this.bugFixes = bugFixes;
    }

    public String getBugFixes() 
    {
        return bugFixes;
    }

    public void setCompatibilityInfo(String compatibilityInfo) 
    {
        this.compatibilityInfo = compatibilityInfo;
    }

    public String getCompatibilityInfo() 
    {
        return compatibilityInfo;
    }

    public void setQrCodeUrl(String qrCodeUrl) 
    {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getQrCodeUrl() 
    {
        return qrCodeUrl;
    }

    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionNumber", getVersionNumber())
            .append("updateType", getUpdateType())
            .append("updateTitle", getUpdateTitle())
            .append("updateContent", getUpdateContent())
            .append("newFeatures", getNewFeatures())
            .append("improvements", getImprovements())
            .append("bugFixes", getBugFixes())
            .append("compatibilityInfo", getCompatibilityInfo())
            .append("qrCodeUrl", getQrCodeUrl())
            .append("releaseTime", getReleaseTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
